<div class="row">
	<div class="col-md-12">
		<a class="btn btn-success btn-sm" role="button" data-toggle="collapse" href="#filter" aria-expanded="false" aria-controls="filter" style="margin-bottom: 10px;">
			筛选
			<i class="icon-double-angle-down icon-large"></i>
		</a>
		<div class="collapse" id="filter">
			<div class="row">
				<form class="filter-form" action="${request.contextPath}/contract-list/sign" method="post">
					<div class="col-md-3">
						<div class="form-group">
							<div class="input-group">
								<div class="input-group-addon">
									<div style="width: 60px;">合同编号</div>
								</div>
								<input type="text" class="form-control input-sm" name="no" value="${search.no}" />
							</div>
						</div>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<div class="input-group">
								<div class="input-group-addon">
									<div style="width: 60px;">合同名称</div>
								</div>
								<input type="text" class="form-control input-sm" name="name" value="${search.name}" />
							</div>
						</div>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<div class="input-group">
								<div class="input-group-addon">
									<div style="width: 60px;">签约方</div>
								</div>
								<input type="text" class="form-control input-sm" name="qyf" value="${qyf}" />
							</div>
						</div>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<div class="input-group">
								<div class="input-group-addon">
									<div style="width: 60px;">完成情况</div>
								</div>
								<select class="form-control input-sm" name="wcqk">
									<option value=""></option>
									<option value="false">未完成</option>
									<option value="true">已完成</option>
								</select>
							</div>
						</div>
					</div>
					<div class="col-md-6">
						<div class="form-group">
							<div class="input-group">
								<div class="input-group-addon">
									<div style="width: 60px;">合同工期</div>
								</div>
								<input type="text" class="form-control input-sm datetimepicker" name="contractStart" data-format="yyyy-MM-dd" data-time="${(search.contractStart?string('yyyy-MM-dd'))!''}" data-foot="false" readonly="readonly" />
								<div class="input-group-addon" style="border-width: 1px 0;">至</div>
								<input type="text" class="form-control input-sm datetimepicker" name="contractEnd" data-format="yyyy-MM-dd" data-time="${(search.contractEnd?string('yyyy-MM-dd'))!''}" data-foot="false" readonly="readonly" />
								<div class="input-group-addon" style="border-width: 1px 0;">或</div>
								<input type="text" class="form-control input-sm number" name="contractDays" value="${search.contractDays}" />
								<div class="input-group-addon" style="border-left: none;">天</div>
							</div>
						</div>
					</div>
					<div class="col-md-6">
						<div class="form-group">
							<div class="input-group">
								<div class="input-group-addon">
									<div style="width: 60px;">办结日期</div>
								</div>
								<input type="text" class="form-control input-sm datetimepicker" name="bjTimeStart" data-format="yyyy-MM-dd" data-time="${(search.bjTimeStart?string('yyyy-MM-dd'))!''}" data-foot="false" readonly="readonly" />
								<div class="input-group-addon" style="border-width: 1px 0;">至</div>
								<input type="text" class="form-control input-sm datetimepicker" name="bjTimeEnd" data-format="yyyy-MM-dd" data-time="${(search.bjTimeEnd?string('yyyy-MM-dd'))!''}" data-foot="false" readonly="readonly" />
							</div>
						</div>
					</div>
					<div class="col-md-12">
						<div class="btn btn-danger btn-sm filter-search">查询</div>
						<div class="btn btn-default btn-sm filter-reset">重置</div>
					</div>
					<div class="col-md-12">&nbsp;</div>
				</form>
			</div>
		</div>
	</div>
</div>

<script type="text/javascript">
	$(function() {
		$('select[name="wcqk"] option[value="${wcqk}"]').prop('selected', true);
	});
</script>